package cn.smbms.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Sji2Controller {

    private Logger logger = Logger.getLogger(Sji2Controller.class);

    @RequestMapping("/index")
    public String index(){
        logger.info("学框架就学Spring MVC！");
        return "index";
    }

}
